#coding=utf-8
"""
Author:杭州多测师_周sir
Time:2025/8/28 15:35
website:https://duoceshi.net
"""


class Pages_Element():
    # 1.输入用户名
    userName = ('id', "userAccount")

    # 2. 输入密码
    userPwd = ('id', "loginPwd")

    # 3.点击登录
    loginBtn = ("id", "loginBtn")

    # 4.断言
    deskTop = ('xpath', "/html/body/div/section/div[1]/div[1]/ul/li/span")

    # 第二条用例
    # 点击用户中心
    user_center = ("xpath","/html/body/div/aside/div/dl[1]/dt")

    # 点击用户管理
    user_manage = ("xpath","/html/body/div/aside/div/dl[1]/dd/ul/li[1]/a")

    # 切换iframe框
    iframe1 = ("xpath","/html/body/div/section/div[2]/div[2]/iframe")

    # 点击 添加用户
    user_add = ('xpath',"/html/body/div/div[2]/span[1]/a[2]")

    #切换第二个iframe框
    iframe2 = ("xpath","/html/body/div[3]/div/iframe")

    # 输入用户名：
    user_name = ('class',"input-text")